package com.yao.guli;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

// 添加注册发现功能
@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.yao.guli.user.dao")
@EnableFeignClients(basePackages = "com.yao.guli.user.feign")
public class GuliUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(GuliUserApplication.class, args);
    }

}
